package com.ct.model.entity.kk_ycz;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("`order`")
public class Order implements java.io.Serializable {
    @TableId(value = "order_id", type = IdType.AUTO)
    private Long orderId;
    @TableField(value = "username")
    private String username;
    @TableField(value = "order_number")
    private String orderNumber;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
